Skip to main content
Version: 4.55.1

Nodes > Control Flow > For

For

Executes the Body execution port loopCount times, increasing Number each time. Number returns 0 on the first iteration, and increases by 1 on each iteration until it reaches loopCount-1 on the final loop. After all loops are completed, the Then port is executed.

Inputs

NameTypeDescription
loopCountintNumber of loops to perform

Outputs

NameTypeDescription
BodyExecutionExecutes during each loop
NumberNumberIndex (starting at 0) of the current loop
ThenExecutionExecutes after all loops are done
Was this page helpful?
Yes
No